del *.bak
 

set   inF=.\EWARM\Debug\Exe\Project.bin
set   outF=iar_firmware_update_0X08001400_start.bin
set   sectorSize=1024
set   firmwareStartAddr=5120   
set   firmwareEndAddr=32763
set   ChecksumAddr=32764
set   logo=W32F006
set   bps=12
cls
.\tool\firmware_create_tool_006   %inF%  %outF% -%sectorSize% -%firmwareStartAddr%   -%firmwareEndAddr%   -%ChecksumAddr%  -%logo% -%bps% 
type %outF%.log
del  temp_to_mcu*.bin
del  aes_*.bin
@pause
 